import sys,re
inputfile = open(sys.argv[1]).read()
regexp = re.compile(r'<lyrics>(.*?)</lyrics>',re.S)
lyrics = regexp.search(inputfile).group(1)

regexp = re.compile(r'\n[. ]')
lyrics_nostart = regexp.sub(r'\n',lyrics)

regexp = re.compile(r'\[.*?\]')
lyrics_nostart_nohead = regexp.sub(r'',lyrics_nostart)

print lyrics_nostart_nohead
